<!doctype html>
<html >
<head>
<include file="Public:headinc" />
<include file="Public:pagestyle" />
</head>
<body>
	<div class="y-container">
		<div class="y-pagetitle">
			邮箱设置
		</div>
		<div class="y-toolbar">
			<font color="red">谨慎修改</font>
		</div>
		<div class="y-list">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td >邮箱服务器</td>
					<td ><input type="text" id="host" value="{$data['host']}"/></td>
				</tr>
				<tr>
					<td >端口</td>
					<td ><input type="text" id="port" value="{$data['port']}"/></td>
				</tr>
				<tr>
					<td >用户名</td>
					<td ><input type="text" id="username" value="{$data['username']}"/></td>
				</tr>
				<tr>
					<td >密码</td>
					<td ><input type="text" id="password" value="{$data['password']}"/></td>
				</tr>
				<tr>
					<td >显示邮箱名</td>
					<td ><input type="text" id="sender_email" value="{$data['sender_email']}"/></td>
				</tr>
				<tr>
					<td >显示发送者email</td>
					<td ><input type="text" id="sender_name" value="{$data['sender_name']}"/></td>
				</tr>
				<tr>
					<td >&nbsp;</td>
					<td ><input type="button" value="保存" class="btn btn-success"/></td>
				</tr>
				<tr>
					<td >测试</td>
					<td >
						<br />
						<input type="text" id="postto" />（ Email ）<br />
						<textarea id="content" rows="4" class="input-xlarge">这是来自太离谱的测试邮件</textarea>（ 内容 ）<br />
						<input type="button" value="发送" class="btn btn-inverse" onclick="testEmail(this)"/>
					</td>
				</tr>
			</table>
		</div>
		<div class="y-toolbar">
			&nbsp;
		</div>
	</div>
<script type="text/javascript" src="<?php echo MY_CDN; ?>/js/YPostForm.js"></script>
<script type="text/javascript" src="<?php echo MY_CDN; ?>/admin/js/email.js"></script>
</body>
</html>
